package org.jeecg.modules.crm.vo;

import java.util.List;
import org.jeecg.modules.crm.entity.Receipt;
import org.jeecg.modules.crm.entity.ReceiptReceiptDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: Receipt
 * @Author: jeecg-boot
 * @Date:   2025-04-21
 * @Version: V1.0
 */
@Data
@ApiModel(value="receiptPage对象", description="Receipt")
public class ReceiptPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**Company*/
	@Excel(name = "Company", width = 15, dictTable = "company", dicText = "name", dicCode = "id")
    @Dict(dictTable = "company", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "Company")
    private String company;
	/**Receipt Type*/
	@Excel(name = "Receipt Type", width = 15, dicCode = "ReceiptType")
    @Dict(dicCode = "ReceiptType")
	@ApiModelProperty(value = "Receipt Type")
    private String receiptType;
	/**Date*/
	@Excel(name = "Date", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "Date")
    private Date receiptDate;
	/**Receipt No*/
	@Excel(name = "Receipt No", width = 15)
	@ApiModelProperty(value = "Receipt No")
    private String receiptNo;
	/**Receipt No Tow*/
	@Excel(name = "Receipt No Tow", width = 15)
	@ApiModelProperty(value = "Receipt No Tow")
    private String receiptNoTow;
	/**Purchaser*/
	@Excel(name = "Purchaser", width = 15, dictTable = "purchaser", dicText = "name", dicCode = "id")
    @Dict(dictTable = "purchaser", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "Purchaser")
    private String purchaser;
	/**Name*/
	@Excel(name = "Name", width = 15)
	@ApiModelProperty(value = "Name")
    private String name;
	/**Bank Account*/
	@Excel(name = "Bank Account", width = 15, dictTable = "bank_account", dicText = "name", dicCode = "id")
    @Dict(dictTable = "bank_account", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "Bank Account")
    private String bankAccount;
	/**Payment Type*/
	@Excel(name = "Payment Type", width = 15, dicCode = "PaymentType")
    @Dict(dicCode = "PaymentType")
	@ApiModelProperty(value = "Payment Type")
    private String paymentType;
	/**Address*/
	@Excel(name = "Address", width = 15)
	@ApiModelProperty(value = "Address")
    private String address;
	/**Reference No*/
	@Excel(name = "Reference No", width = 15)
	@ApiModelProperty(value = "Reference No")
    private String referenceNo;
	/**Agent*/
	@Excel(name = "Agent", width = 15)
	@ApiModelProperty(value = "Agent")
    private String agent;
	/**Customer*/
	@Excel(name = "Customer", width = 15)
	@ApiModelProperty(value = "Customer")
    private String customer;
	/**Project */
	@Excel(name = "Project ", width = 15)
	@ApiModelProperty(value = "Project ")
    private String project;
	/**Owner*/
	@Excel(name = "Owner", width = 15)
	@ApiModelProperty(value = "Owner")
    private String owner;
	/**Purchaser / Tenant*/
	@Excel(name = "Purchaser / Tenant", width = 15)
	@ApiModelProperty(value = "Purchaser / Tenant")
    private String purchaserTenant;
	/**Attachment*/
	@Excel(name = "Attachment", width = 15)
	@ApiModelProperty(value = "Attachment")
    private String attachment;

	@ExcelCollection(name="Receipt Detail")
	@ApiModelProperty(value = "Receipt Detail")
	private List<ReceiptReceiptDetail> receiptReceiptDetailList;

}
